package com.pattern.cglib;

/**
 * 测试代理
 */

public class HelloCGLibProxyTest {

    public static void main(String[] args) {

        CGLibEx cgLibEx = new CGLibEx();

        HelloCGLibPattern proxy = (HelloCGLibPattern) cgLibEx.getProxy(HelloCGLibPattern.class);

        proxy.toStrings("张三");

    }
}
